﻿<!-- This template is injected into the details page head section -->

<!-- SEO name field test to cover all services Combined to reduce the number of tests needed -->
[<tag type="if" xpath="genxml/lang/genxml/textbox/txtseoname" testvalue="" display="{OFF}" displayelse="{ON}" />]
<meta property="og:title" content="[<tag type='valueof' xpath='genxml/lang/genxml/textbox/txtseoname' />]"/>
<meta name="twitter:title" content="[<tag type='valueof' xpath='genxml/lang/genxml/textbox/txtseoname' />]"/>
<meta itemprop="name" content="[<tag type='valueof' xpath='genxml/lang/genxml/textbox/txtseoname' />]"/>
[<tag type="endif" />]
[<tag type="if" xpath="genxml/lang/genxml/textbox/txtseoname" testvalue="" display="{ON}" displayelse="{OFF}" />]
<meta property="og:title" content="[<tag type='manufacturer' />] [<tag type='productname' />]"/>
<meta name="twitter:title" content="[<tag type='manufacturer' />] [<tag type='productname' />]"/>
<meta itemprop="name" content="[<tag type='manufacturer' />] [<tag type='productname' />]"/>
[<tag type="endif" />]

<!-- Open Graph data for Facebook - Title and Type are required - https://developers.facebook.com/docs/reference/opengraph/object-type/object -->
<meta property="og:description" content="[<tag type='breakof' xpath='genxml/lang/genxml/textbox/txtsummary' />]"/>
<meta property="og:image" content="http://[<tag type='websiteurl' />][<tag type='valueof' xpath='genxml/imgs/genxml/hidden/imageurl' />]"/>
<meta property="og:url" content="[<tag type='entryurl' tabid='{Settings:ddldetailtabid}' xpath='genxml/lang/genxml/textbox/txtproductname' modkey='{Settings:detailmodulekey}' />]"/>
<meta property="og:site_name" content="[Settings:portalname]"/>
<meta property="og:type" content="[Settings:ogobjecttype]"/>
<meta property="og:price:amount" content="[<tag type='valueof' xpath='genxml/models/genxml/textbox/txtunitcost' />]"/>
<meta property="og:price:currency" content="[<tag type='currencyisocode' />]"/>

<!-- Facebook id number for Page Insights - https://www.facebook.com/help/336893449723054 -->
<meta property="fb:admins" content="[Settings:facebookid]"/>

<!-- Twitter Card - https://dev.twitter.com/docs/cards -->
<meta name="twitter:card" content="product"/>
<meta name="twitter:site" content="[Settings:twittersite]"/>
<meta name="twitter:creator" content="[Settings:twitteruser]"/>
<meta name="twitter:domain" content="[<tag type='websiteurl' />]"/>
<meta name="twitter:description" content="[<tag type='breakof' xpath='genxml/lang/genxml/textbox/txtsummary' />]"/> 
<meta name="twitter:image" content="http://[<tag type='websiteurl' />][<tag type='valueof' xpath='genxml/imgs/genxml/hidden/imageurl' />]"/>
<meta name="twitter:label1" content="[<tag type='valueof' resourcekey='ProductView.price' />]"/><!-- need to fix this to just get the label, no spans -->
<meta name="twitter:data1" content="[<tag type='valueof' xpath='genxml/models/genxml/textbox/txtunitcost' />]"/>
<meta name="twitter:label2" content=""/>
<meta name="twitter:data2" content=""/>

<!-- Google Plus -->
<meta itemprop="description" content="[<tag type='breakof' xpath='genxml/lang/genxml/textbox/txtsummary' />]"/>
<meta itemprop="image" content="http://[<tag type='websiteurl' />][<tag type='valueof' xpath='genxml/imgs/genxml/hidden/imageurl' />]"/>

<!-- Rich Snippets / Schema.org code is inserted directly into the detail.html template - http://schema.org/Product -->

<!-- Lightbox CSS is only used on details page -->
<link href="/DesktopModules/NBright/NBrightBuy/Themes/Cygnus/css/imagelightbox.nbb.css" rel="stylesheet">